PRO := bin/nocheMuseo

SRC := $(wildcard *.cpp)
INC := -I./includes/

OBJ := $(addprefix obj/, $(patsubst %.cpp, %.o, $(SRC)))

FLG := -g -ggdb -pedantic -std=c++0x

$(PRO): $(OBJ)
	mkdir -p bin
	g++ -o $@ $(OBJ)

obj/%.o: %.cpp
	mkdir -p obj
	g++ $(FLG) $(INC) -o $@ -c $(notdir $^)

clean:
	rm -rf obj bin